<?php
$this->breadcrumbs=array(
	'Email Templates',
);

?>
<br/>
<h1>Email Templates</h1>


<?php /*$this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider,
	'itemView'=>'_view',
)); */ ?>


<?php $this->widget('zii.widgets.grid.CGridView', array(
	'id'=>'menu-category-grid',
	'dataProvider'=>$dataProvider,
	'columns'=>array(
			
	    'title',
	 	'subject', 	
	 	'from_name', 	
	 	'from_email', 
		'text_body', 
		'html_body',
		array(
			'class'=>'CButtonColumn',
			'template'=>'{update}{delete}',
			/*'buttons'=>array(
					'update'=>array(
							 //'url'=>'Yii::app()->createUrl("vendor/update/category_id/5")', 
							 'options'=>array(),),
					'Remove'=>array(
							 'url'=>'Yii::app()->createUrl("vendor/menuCategory/remove/id/$data->id")', 
							 'options'=>array('id'=>'delete_buttons'),
							 'imageUrl'=>"$remove_url_image",),				
									
					'ManageMenu'=>array(
							 'url'=>'Yii::app()->createUrl("vendor/menuItems/index/category_id/$data->id")', 
							 'options'=>array('id'=>'delete_buttons'),
							 'imageUrl'=>"$ManageMenu_url_image",),
							), 		*/
								
		),
	),
	
)); ?>